Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab runner scaler #6412

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft

Conversation

fira42073
Copy link
Contributor

Provide a description of what has been changed

Checklist

Fixes #5616

fira42073 and others added 22 commits August 26, 2024 00:44
… "waiting for resource" status

Signed-off-by: Fira Curie <[email protected]>
Co-authored-by: Tom Kerkhove <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
* chore: Prepare v2.15.1

Signed-off-by: Jorge Turrado <[email protected]>

* fix changelog

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
* chore: Enable Az Pipeline e2e

Signed-off-by: Jorge Turrado <[email protected]>

* update manifests

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
* chore: Improve azure e2e coverage

Signed-off-by: Jorge Turrado <[email protected]>

* add missing vars

Signed-off-by: Jorge Turrado <[email protected]>

---------

Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
…dacore#6072)

* Update

Signed-off-by: SpiritZhou <[email protected]>

* Update ChangeLog

Signed-off-by: SpiritZhou <[email protected]>

* Update

Signed-off-by: SpiritZhou <[email protected]>

---------

Signed-off-by: SpiritZhou <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
* add errorWhenMetricValueEmpty

Signed-off-by: Rob Pickerill <[email protected]>

* fix golangci-lint

Signed-off-by: Rob Pickerill <[email protected]>

* improve error message for empty results

Signed-off-by: Rob Pickerill <[email protected]>

* add error when empty metric values to changelog

Signed-off-by: Rob Pickerill <[email protected]>

* rename errorWhenMetricValuesEmpty -> errorWhenNullValues

Signed-off-by: Rob Pickerill <[email protected]>

* use getParameterFromConfigV2 to read config for errorWhenNullValues

Signed-off-by: Rob Pickerill <[email protected]>

* add e2e for error state for cw, and improve e2e for min values for cw

Signed-off-by: Rob Pickerill <[email protected]>

* remove erroneous print statement

Signed-off-by: Rob Pickerill <[email protected]>

* remove unused vars

Signed-off-by: Rob Pickerill <[email protected]>

* rename errorWhenMetricValuesEmpty -> ignoreNullValues

Signed-off-by: Rob Pickerill <[email protected]>

* move towards shared package for e2e aws

Signed-off-by: Rob Pickerill <[email protected]>

* minMetricValue optionality based on ignoreNullValues

Signed-off-by: Rob Pickerill <[email protected]>

* fail fast

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>

* Update tests/scalers/aws/aws_cloudwatch_ignore_null_values_false/aws_cloudwatch_ignore_null_values_false_test.go

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>

* Apply suggestions from code review

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>

* fail fast

Signed-off-by: Rob Pickerill <[email protected]>

* fix broken new line

Signed-off-by: Rob Pickerill <[email protected]>

* fix broken new lines

Signed-off-by: Rob Pickerill <[email protected]>

* assert no scaling changes in e2e, and set false for required in minMetricValue

Signed-off-by: robpickerill <[email protected]>

* fix ci checks

Signed-off-by: robpickerill <[email protected]>

* Update tests/scalers/aws/aws_cloudwatch_min_metric_value/aws_cloudwatch_min_metric_value_test.go

fix invalid check

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>

* fix merge conflicts

Signed-off-by: robpickerill <[email protected]>

* fix e2e package names

Signed-off-by: robpickerill <[email protected]>

---------

Signed-off-by: Rob Pickerill <[email protected]>
Signed-off-by: robpickerill <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
* add a static connection name

Signed-off-by: robpickerill <[email protected]>

* Update pkg/scalers/rabbitmq_scaler.go

Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>

* add improvement to changelog

Signed-off-by: robpickerill <[email protected]>

* add namepace and so name to conn name

Signed-off-by: robpickerill <[email protected]>

* Update comment

Signed-off-by: Jorge Turrado Ferrero <[email protected]>

---------

Signed-off-by: robpickerill <[email protected]>
Signed-off-by: Rob Pickerill <[email protected]>
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
Signed-off-by: Fira Curie <[email protected]>
…b scaler; apply code review suggestions

Signed-off-by: Fira Curie <[email protected]>
@fira42073
Copy link
Contributor Author

related to #6087

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab Runner Scaler
5 participants